package ttOrder.service;

import java.util.List;

import ttOrder.model.Order;
import ttOrder.vo.OrderDetallVO;
import ttOrder.vo.OrderVO;

public interface IOrderService {
	//显示全部订单
	public List<OrderVO> findAllOrder();
	
	//根据订单号查询订单详情
	public List<OrderDetallVO> findDetallById(Integer orderId);
	
	//根据订单号查询订单
	public OrderVO findOrderById(Integer orderId);
	
	
	
	public void insertOrder(OrderVO orderVO);
	
	//修改订单状态
	public void updateOrder(OrderVO orderVO);
	
	//删除订单
	public void deleteOrder(Integer id);
	
	//删除订单详情
	public void deleteDetall(Integer id);

	//用户选择餐桌后新增订单
	public void addOrder(Integer tableId);
}
